<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link th:href="@{/css/bootstrap.min.css}" href="../static/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div class="container" style="max-width: 600px;margin-top: 50px;">
    <div class="jumbotron">
        <h1>欢迎</h1>
        <p th:text="${session.user.username}"></p>
        <p><a href="#" th:href="@{/books/1}">查看书单详情</a></p>
        <a href="#" class="btn btn-warning" th:href="@{/logout}">注销</a>
    </div>
</div>

<script th:src="@{/js/jquery.min.js}" src="../static/js/jquery.min.js"></script>
<script th:src="@{/js/bootstrap.min.js}" src="../static/js/bootstrap.min.js"></script>
</body>
</html>